package com.xxxx.yebserver.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author cxq
 * @since 2021-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_employee")
@ApiModel(value="Employee对象", description="")
public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工编号")
    private Long id;

    @ApiModelProperty(value = "员工姓名")
    private String name;

    @ApiModelProperty(value = "性别【1男 2女】")
    private Boolean gender;

    @ApiModelProperty(value = "员工生日")
    private Date birthday;

    @ApiModelProperty(value = "身份证号码")
    private String idCard;

    @ApiModelProperty(value = "婚姻状况")
    private String wodlock;

    @ApiModelProperty(value = "民族")
    private Integer nationld;

    @ApiModelProperty(value = "籍贯")
    private String nativPlace;

    @ApiModelProperty(value = "政治面貌")
    private Integer politicld;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "联系地址")
    private String address;

    @ApiModelProperty(value = "部门id")
    private Long departmentId;

    @ApiModelProperty(value = "职称id")
    private Long jobLevelId;

    @ApiModelProperty(value = "职位id")
    private Long posId;

    @ApiModelProperty(value = "聘用形式")
    private String engageForm;

    @ApiModelProperty(value = "最高学历")
    private String tiptopDegree;

    @ApiModelProperty(value = "所属专业")
    private String specialty;

    @ApiModelProperty(value = "毕业院校")
    private String school;

    @ApiModelProperty(value = "入职时间")
    private Date beginDate;

    @ApiModelProperty(value = "在职状态")
    private String workState;

    @ApiModelProperty(value = "工号")
    private String workId;

    @ApiModelProperty(value = "合同期限")
    private Date contractTerm;

    @ApiModelProperty(value = "转正日期")
    private Date conversionTime;

    @ApiModelProperty(value = "离职日期")
    private Date notWorkDate;

    @ApiModelProperty(value = "合同开始日期")
    private Date beginContract;

    @ApiModelProperty(value = "合同结束日期")
    private Date endContract;

    @ApiModelProperty(value = "工龄")
    private Integer workAge;

    @ApiModelProperty(value = "工资账套id")
    private Long salaryId;


}
